package cn.edu.cqupt.dao;

import java.util.HashMap;
import java.util.List;

import cn.edu.cqupt.model.Personachievement;

public interface PersonachievementMapper {
    int deleteByPrimaryKey(String personachievementid);

    int insert(Personachievement record);

    int insertSelective(Personachievement record);

    Personachievement selectByPrimaryKey(String personachievementid);

    int updateByPrimaryKeySelective(Personachievement record);

    int updateByPrimaryKey(Personachievement record);

	int selectcountPachievements();

	List<Personachievement> selectallPachievements(HashMap<String, Object> params);

	int selectRowCountBypersonname(String personname);

	List<Personachievement> selectPByname(HashMap<String, Object> params);

	List<String> selectallPersonnames();
}